﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="orders.aspx.cs" Inherits="WebSite.admin.order.orders" %>

 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>阳澄湖牌 </title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        parent.maintitle.innerHTML = "订单管理";
        parent.contentmain.innerHTML = "<span class='title01'>所在位置：</span>订单信息 "
    </script>
    <script language='javascript'>
        var path = (window.top.location).toString();
        if (path.indexOf('login.aspx') == -1) {
            if (path.indexOf('index.aspx') == -1) {
                window.top.location = 'index.aspx';
            }
        }
	</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
  <br />
  <table Width="98%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
    <tr style="display:none">
      <td colspan="4" align="center">
          <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="../images/buttom-a.gif" Visible="false" OnClick="ImageButton1_Click" /> &nbsp;
          <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="../images/buttom-b.gif" Visible="false" OnClick="ImageButton2_Click" /> &nbsp;
          <a href="ordera.aspx?oid=<%=Request.QueryString["oid"] %>" target="_blank"><img src="../images/buttom-c.gif" style="display:none" border="0" /></a>
      
       </td>
    </tr>
    <tr>
      <th colspan="4" bgcolor="#E2E7EB" align=left>基本信息</th>
    </tr>
    <tr>
      <td width="18%" align="right" class="title01">订单号：</td>
      <td width="34%" align="left"><asp:Label ID="ordercode" runat="server" Text=""></asp:Label></td>
      <td width="15%" align="right" class="title01">订单状态：</td>
      <td align="left"><asp:Label ID="states" runat="server" Text=""></asp:Label></td>
    </tr>
    <tr>
      <td align="right" class="title01">下单人：</td>
      <td align="left"><asp:Label ID="memberid" runat="server" Text=""></asp:Label> </td>
      <td align="right" class="title01">下单时间：</td>
      <td align="left"><asp:Label ID="ordertime" runat="server" Text=""></asp:Label></td>
    </tr>
    <tr>
      <td align="right" class="title01">支付方式：</td>
      <td align="left"><asp:Label ID="pay" runat="server" Text=""></asp:Label></td>
      <td align="right" class="title01">
        使用礼品卡号：</td>
      <td align="left">
      <asp:Label ID="lblCardCode" runat="server" Text=""></asp:Label>
      </td>
    </tr>

    <tr>
      <td align="right" class="title01">
          定购说明：</td>
      <td align="left" colspan="3"><asp:Label ID="orderno" runat="server" Text=""></asp:Label></td>
    </tr>
    
    <tr>
      <th colspan="4" bgcolor="#E2E7EB" align="left">收件人信息 </th>
    </tr>
    <tr>
      <td align="right" class="title01">收件人：</td>
      <td align="left"> 
      <asp:TextBox ID="txtCname" runat="server" Width="150px"></asp:TextBox>
        </td>
      <td align="right" class="title01">送货日期：</td>
      <td align="left"> 
      <asp:TextBox ID="txtSendTime" runat="server"   style="behavior:url('../../LWDP.HTC');" Width="80px"></asp:TextBox>
        </td>
    </tr>
    <tr>
      <td align="right" class="title01">地址：</td>
      <td align="left"> 
      <asp:TextBox ID="txtAddress" runat="server" Width="297px"></asp:TextBox>
      </td>
      <td align="right" class="title01">&nbsp;</td>
      <td align="left">&nbsp;</td>
    </tr>
    <tr>
      <td align="right" class="title01">电话：</td>
      <td align="left"> 
      <asp:TextBox ID="txtTel" runat="server" Width="150px"></asp:TextBox>
        </td>
      <td align="right" class="title01">手机：</td>
      <td align="left"> 
      <asp:TextBox ID="txtPhone" runat="server" Width="150px"></asp:TextBox>
        </td>
    </tr>
    <tr>
      <td align="right" class="title01">&nbsp;</td>
      <td align="left" colspan="3">
      <asp:Button id="btnUpdateAddress" runat="server" Text="更新" 
              onclick="btnUpdateAddress_Click" />
        </td>
    </tr>
  </table>
  <table Width="98%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
    <tr>
      <th colspan="6" align="left" bgcolor="#E2E7EB" class="title01" scope="col">物流配送信息 </th>
    </tr>
  </table>
      <table Width="98%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
            <tr>
              <td height="25"><strong>物流公司</strong></td>
              <td><strong>物流单号</strong></td>
              <td><strong>物流查询网址</strong></td>           
              <td><strong>物流查询电话</strong></td>
            </tr>
            <tr>
              <td ><%= SendCompany%></td>
              <td><%= SendCode%></td>
               <td><a href='<%= SendUrl%>'  target="_blank"><%= SendUrl%></a></td>
             <td><%= SendTelphone%></td>
            </tr>
             <tr>
              <td><strong>发货时间</strong></td>
               <td><strong>寄件公司</strong></td>
                <td><strong>寄件人</strong></td>
                 <td><strong>寄件地址</strong></td>
            </tr>
            <tr>
             <td><%= SendDate1%></td>
             <td><%= SendPersonCompany%></td>
               <td><%= SendPerson%></td>          
                   <td><%= SendPersonAddress%></td>
            </tr>
   </table>  
  <table Width="98%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
    <tr>
      <th colspan="6" align="left" bgcolor="#E2E7EB" class="title01" scope="col">商品清单 </th>
    </tr>
  </table>
  <table Width="98%" border="0" cellPadding="0" cellSpacing="0" bgcolor="#EDEDE2" class=detail-header>
    <tr bgcolor='#ffffff'>
                  <td width="54%" height="28" align="middle" colspan="2"><b>商品名单</b></td>
                  <td align="middle" width="17%"><b>销售价格</b></td>
                  <td align="middle" width="12%"><b>数 量</b></td>
                  <td align="middle" width="17%"><b>共   计</b></td>
    </tr>
      <%=carmsg %>
   </table>
   <table Width="98%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
    <tr>
      <th colspan="6" align="left" bgcolor="#E2E7EB" class="title01" scope="col">支付方式 </th>
    </tr>
  </table>    
    <table Width="98%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
            <tr>
              <td height="25"><strong>商品小计</strong></td>
              <td><strong>礼品卡</strong></td>           
              <td><strong>总计</strong></td>
            </tr>
            <tr>
              <td height="25" style="COLOR: #ff0000"><%=sumprice %>元</td>
              <td style="COLOR: #0000ff">－<%=cardprice %>元</td>
              <td style="COLOR: #0000ff"><%=totalprice %>元</td>
            </tr>
   </table>   
       
           
  
  
  
  <table id="tbOperate" runat="server" Width="98%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
    <tr>
      <td colspan="2" bgcolor="#E2E7EB" class="title01">处理结果</td>
    </tr>
      <tr>
          <td align="right" class="title01" width="17%">
              订单状态：</td>
          <td align="left">
          <select name="states1" id="states1" runat="server">
        <option value="0">新订单</option>
        <option value="1">备货中</option>
        <option value="2">已发货</option>
        <option value="3">已完成</option>
      </select>
          </td>
      </tr>
    <tr>
      <td width="17%" align="right" class="title01">操作备注：</td>
      <td align="left"><asp:TextBox ID="contents" runat="server" Height="66px" TextMode="MultiLine" Width="277px"></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right" class="title01">当前可执行操作： </td>
      <td align="left"><asp:Button ID="Button1" runat="server" Text="保存" OnClick="Button1_Click" /><!--input name="confirm" type="submit" class="botton_02" value="确认" />
          <input name="after_service" type="submit" class="botton_02" value="售后" />
          <input name="remove" type="submit" class="botton_02" onclick="return window.confirm('删除订单将清除该订单的所有信息。您确定要这么做吗？');" value="移除" /--></td>
    </tr>
 </table>

   <table id="tblCompain" runat="server" Width="98%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
 <tr>
 <td colspan="2"></td>
 </tr>

    <tr>
      <td colspan="2" bgcolor="#E2E7EB" class="title01">投诉建议</td>
    </tr>
      <tr>
          <td align="right" class="title01" width="17%">
              投诉类别：</td>
          <td align="left">
           <asp:DropDownList ID="ddlCompainType" runat="server">
         
          </asp:DropDownList>

          </td>
      </tr>
    <tr>
      <td width="17%" align="right" class="title01">投诉内容：</td>
      <td align="left">
          <asp:TextBox ID="txtCompain" runat="server" 
              Height="66px" TextMode="MultiLine" Width="277px"></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right" class="title01">当前可执行操作： </td>
      <td align="left">
          <asp:Button ID="btnCompain" runat="server" Text="保存" onclick="btnCompain_Click" 
              />
      </td>
    </tr>

     
 <tr>
 <td colspan="2"></td>
 </tr>

    <tr>
      <td colspan="2" bgcolor="#E2E7EB" class="title01">投诉处理</td>
    </tr>
    <tr>
      <td width="17%" align="right" class="title01">处理结果：</td>
      <td align="left">
          <asp:TextBox ID="txtProcess" runat="server" 
              Height="66px" TextMode="MultiLine" Width="277px"></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right" class="title01">当前可执行操作： </td>
      <td align="left">
          <asp:Button ID="btnProcess" runat="server" Text="保存" onclick="btnProcess_Click" 
              />
      </td>
    </tr>
  </table>
  </td>
</tr>
</table>
</center>
    </div>
    </form>
</body>
</html>
